package com.hardroid.workload.ui.widget;

import com.hardroid.workload.R;
import com.hardroid.workload.workcalc.ObsvDay;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;

public class DayStatusView extends LinearLayout {

	private TextView dateText;
	private TextView startText;
	private TextView endText;

	public ObsvDay day;

	public DayStatusView(Context context, ObsvDay day) {
		super(context);
		// TODO Auto-generated constructor stub
		this.day = day;

		LayoutInflater inflater = (LayoutInflater) context
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		inflater.inflate(R.layout.view_day_status, this, false);

		dateText = (TextView) findViewById(R.id.day_status_date);
		startText = (TextView) findViewById(R.id.day_status_start_work);
		endText = (TextView) findViewById(R.id.day_status_end_work);
	}

}
